<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>访客列表</title>
</head>
<body>
<div id="title"></div>
<div id="content">
    <a href="/publish/add_visitor">添加用户</a>
    <table>
    <tr>
        <th>ID</th>
        <th>主题</th>
        <th>地区</th>
        <th>案件类型</th>
        <th>涉案金额</th>
        <th>具体内容</th>
        <th>名字</th>
        <th>电话</th>
        <th>希望完成时间</th>
        <th>更新时间</th>

    </tr>
    {% for visitor in visitors %}

    <tr>
        <td>{{visitor.id}}</td>
        <td>{{visitor.title}}</td>
        <td>{{visitor.area}}</td>
        <td>{{visitor.dispute}}</td>
        <td>{{visitor.money_involved}}</td>
        <td>{{visitor.content}}</td>
        <td>{{visitor.username}}</td>
        <td>{{visitor.phone}}</td>
        <td>{{visitor.hope_time}}</td>
        <td>{{visitor.update_time}}</td>
        <br>
        <td>
            <a href="/publish/mod_visitor/{{visitor.id}}">更新</a>

            <a href="/publish/del_visitor/{{ visitor.id }}">删除</a>
        </td>
    </tr>
    {% endfor %}
</table>
</div>
<div id="foot"></div>
</body>
</html>